﻿using Inovout.Business;
using System.Collections.Generic;
using Inovout.Organizations.Model;

namespace Inovout.Organizations.Business
{
    public class ListEmployeeWorkItem:BaseWorkItem
    {
        protected override void Do()
        {
            Functions.Add(OrganizationFunctions.NewEmployee);
            Functions.Add(OrganizationFunctions.EditEmployee);

            base.View("ListEmployee", new List<Employee> { 
                new Employee{Name="张三"},
                new Employee{Name="李四"},
                new Employee{Name="三二"}
            });
        }
   
    }
}
